package com.qpx.studentservice.service;


import com.qpx.logmongodb.eneity.LogEntity;
import com.qpx.studentservice.vo.ResultEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "LOG-PRODUCER-MONGODB")
public interface LogService {
    @RequestMapping(value = "/log/add", method = RequestMethod.POST)
    public ResultEntity add(@RequestBody LogEntity logEntity);
}
